package br.ufes.cwtools.gw.android.location_service;

interface ILocationService {
	boolean hasFix();
	
	double getLatitude();
	
	double getLongitude();
	
	double getAccuracy();
	
	/**
	 * @param period in milliseconds
	 */
	void setReportingPeriod(in long period);
	
	void setReportingUrl(in String url);
	
	void setReportingParameters(in Bundle params);
	
	void startLocationReporting();
	
	void stopLocationReporting();
	
	boolean reportingStarted();
}